package calvin.study.springboot.config.ext;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import calvin.study.springboot.model.Order;

//Bean的扩展原理

@Configuration
@ComponentScan("calvin.study.springboot.config.ext")
public class ExtConfig {
	
	@Bean
	public Order order() {
		return new Order();
	}

}
